/*
** my_strcmp.c for my_strcmp in /home/goupil_r//afs/Jour_06
**
** Made by robin goupil
** Login   <goupil_r@epitech.net>
**
** Started on  Mon Oct  8 11:45:42 2012 robin goupil
** Last update Tue Nov  6 14:37:11 2012 robin goupil
*/

int	my_strcmp(char *s1, char *s2)
{
  int	i;

  i = 0;
  while (s1[i] == s2[i] && s1[i] != '\0' && s2[i] != '\0')
    i = i + 1;
  if (s1[i] == '\0' && s2[i] == '\0')
    return (0);
  return (s1[i] - s2[i]);
}
